:root {
    --fanwei-primary: #2E5B9E;
    --fanwei-secondary: #F0F5FF;
    --fanwei-light: #E8F1FF;
    --fanwei-dark: #1A4585;
    --fanwei-border: #D9E3F7;
    --fanwei-text: #333333;
    --fanwei-sidebar: #F8FAFF;
    --fanwei-bg: #F5F7FA;
    --fanwei-success: #27AE60;
    --fanwei-warning: #F39C12;
    --fanwei-danger: #E74C3C;
}

/* 减少消息内容中元素的垂直间距 */
.message-bubble div p {
    margin: 0.2em 0; /* 减少段落间距 */
}

.message-bubble div ul,
.message-bubble div ol {
    margin: 0.2em 0;
    padding-left: 1.5em; /* 减少列表缩进 */
}

.message-bubble div li {
    margin: 0.25em 0; /* 减少列表项间距 */
}

.message-bubble div h1,
.message-bubble div h2,
.message-bubble div h3,
.message-bubble div h4,
.message-bubble div h5,
.message-bubble div h6 {
    margin: 0.75em 0 0.5em 0; /* 减少标题间距 */
}

/* 控制整体消息内容的间距 */
.message-content {
    margin-bottom: 5px; /* 调整消息之间的间距 */
}

/* 调整代码块的间距 */
.message-bubble div pre {
    margin: 0.2em 0;
}
body {
    font-family: "Microsoft YaHei", "Segoe UI", Tahoma, sans-serif;
    color: var(--fanwei-text);
    background-color: var(--fanwei-bg);
    height: 100vh;
    margin: 0;
}

/* 整体布局 */
.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header {
    background-color: var(--fanwei-primary);
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.app-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    width: 320px;
    background: linear-gradient(to top, #fff, #e4effe);
    border-right: 1px solid var(--fanwei-border);
    display: flex;
    flex-direction: column;
    transition: width 0.3s;
    padding: 30px 20px;
}

.sidebar-header {
    padding: 30px 0 20px 0;
    border-bottom: 1px solid var(--fanwei-border);
}
.btn-primary {
    background-color: #eef4ff !important;
    border:1px solid #4f99ff !important;
    color: #4f99ff !important;
    width: 280px !important;
    height: 54px !important;
    font-size: 20px !important;
    text-align: left !important;
    border-radius:10px !important;
}
.btn-primary img{
    margin-right: 10px;
    margin-top: -4px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: 500;
    color: #a0a0a0;
    margin-top: 30px;
}

.session-list {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}
.session-list i{
    color: #4f99ff !important;
    float: left;
}
button.delete-btn {
    background: none;
    border: none;
    float: right;
}
.session-item {
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    color: var(--fanwei-text);
    text-decoration: none;
    position: relative;
}

.session-item:hover {
    background-color: var(--fanwei-light);
}

.session-item.active {
    background-color: var(--fanwei-secondary);
    color: var(--fanwei-primary);
    font-weight: 500;
}

.session-item i {
    margin-right: 10px;
    color: var(--fanwei-primary);
}

.session-item .content {
    flex: 1;
    overflow: hidden;
}

.session-item .session-name {
    font-size: 14px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-item .session-preview {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-item .timestamp {
    font-size: 11px;
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
}

.session-item .delete-btn {
    display: none;
    position: absolute;
    right: 15px;
    bottom: 10px;
    color: #ccc;
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
}

.session-item:hover .delete-btn {
    display: block;
}

.session-item .delete-btn:hover {
    color: var(--fanwei-danger);
}

/* 聊天区域 */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-image: url(../images/bj.png);
}

.chat-header {
    padding: 30px 20px;
    display: flex;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1c;
}

.chat-header .actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.chat-header .btn-action {
    color: var(--fanwei-primary);
    background: none;
    border: none;
    font-size: 16px;
    margin-left: 15px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.chat-header .btn-action:hover {
    color: var(--fanwei-dark);
}

.message-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    
}

.message-date-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.message-date-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
    z-index: 1;
}

.message-date-divider span {
    background-color: #f9fafc;
    padding: 0 15px;
    font-size: 12px;
    color: #999;
    position: relative;
    z-index: 2;
}

.message-container {
    display: flex;
    margin-bottom: 20px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background-color: var(--fanwei-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.message-avatar.user {
    background-color: #e1e1e1;
    color: #666;
}

.message-avatar.system {
    background-color: #f8d486;
    color: #b27d00;
}

.message-content {
    flex: 1;
    max-width: calc(100% - 60px);
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 8px;
    display: inline-block;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
}

.message-bubble.user {
    background-color: var(--fanwei-primary);
    color: white;
    float: right;
}

.message-bubble.assistant {
    background-color: white;
    border: 1px solid var(--fanwei-border);
}

.message-bubble.system {
    background-color: #fff9e6;
    border: 1px solid #f8d486;
    font-style: italic;
    color: #7d5a00;
}

.message-bubble p {
    margin: 0 0 10px 0;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-meta {
    font-size: 11px;
    color: #aaa;
    margin-top: 5px;
    clear: both;
}

/* 代码块 */
pre {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 10px 0;
    border: 1px solid #eee;
}

code {
    font-family: 'Courier New', Courier, monospace;
}

/* 输入区域 */
.message-input-container {
    padding: 20px 15px;
    border: 1px solid #e5e7ea;
    background-color: white;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius:10px;
    box-shadow: 0 10px 50px rgb(195 195 195 / 31%);
}

.message-input-wrapper {
    display: flex;
    align-items: flex-start;

    overflow: hidden;

}

.message-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    resize: none;
    font-size: 18px;
    max-height: 120px;
    min-height: 80px;
}

.message-input:focus {
    outline: none;
}

.btn-send {
    background-color: var(--fanwei-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-send:hover {
    background-color: var(--fanwei-dark);
}

.btn-send:disabled {
    background-color: #f9fcff;
    cursor: not-allowed;
    border-radius: 8px;
    height: 54px;
}
.btn-send:disabled i {
    color: #4f99ff;
    font-size: 20px;
}
.file-upload-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-file-upload {
    background: none;
    border: none;
    color: #4f99ff;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.btn-file-upload i {
    margin-right: 5px;
    color: #4f99ff;
}

.btn-file-upload:hover {
    color: var(--fanwei-dark);
}

.file-info {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
    flex: 1;
}

.input-tools {
    display: flex;
    align-items: center;
}

.input-tool-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px 8px;
    font-size: 14px;
    border-radius: 4px;
    margin-left: 5px;
}

.input-tool-btn:hover {
    color: var(--fanwei-primary);
    background-color: var(--fanwei-light);
}

.typing-indicator {
    display: none;
    margin-bottom: 15px;
    color: #666;
    font-style: italic;
    padding: 10px;
}

.typing-indicator .dots {
    display: inline-flex;
}

.typing-indicator .dots span {
    width: 5px;
    height: 5px;
    margin: 0 2px;
    background-color: #999;
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator .dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator .dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator .dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* 欢迎页面 */
.welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #777;
    padding: 20px;
}

.welcome-screen h2 {
    margin-bottom: 20px;
    color: var(--fanwei-primary);
}

.welcome-screen p {
    max-width: 600px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.welcome-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px 30px;
    width: 700px;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px #eaf3ff2f;
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--fanwei-primary);
}

.feature-card h5 {
    margin-bottom: 10px;
    color: #1c1c1c;
    font-size: 24px;
    font-weight: 600;
}

.feature-card p {
    font-size: 16px;
    color: #2d2d2d
    
}

/* 提示框 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.toast {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    overflow: hidden;
    width: 300px;
    display: flex;
    align-items: center;
    border-left: 4px solid var(--fanwei-primary);
    animation: slideIn 0.3s ease-out forwards;
}

.toast.success {
    border-left-color: var(--fanwei-success);
}

.toast.warning {
    border-left-color: var(--fanwei-warning);
}

.toast.error {
    border-left-color: var(--fanwei-danger);
}

.toast-icon {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.toast-content {
    flex: 1;
    padding: 12px 15px;
}

.toast-title {
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 14px;
}

.toast-message {
    font-size: 12px;
    color: #666;
}

.toast-close {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

.toast-close:hover {
    color: #666;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 模态框 */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn 0.2s ease-out forwards;
}

.modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1050;
    width: 400px;
    max-width: 90%;
    animation: zoomIn 0.2s ease-out forwards;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--fanwei-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--fanwei-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--fanwei-border);
    text-align: right;
}

.modal-btn {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: 1px solid #ddd;
    color: #666;
    margin-left: 10px;
    transition: all 0.2s;
}

.modal-btn:hover {
    background-color: #f5f5f5;
}

.modal-btn-primary {
    background-color: var(--fanwei-primary);
    color: white;
    border: 1px solid var(--fanwei-primary);
}

.modal-btn-primary:hover {
    background-color: var(--fanwei-dark);
    border-color: var(--fanwei-dark);
}

.modal-btn-danger {
    background-color: var(--fanwei-danger);
    color: white;
    border: 1px solid var(--fanwei-danger);
}

.modal-btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }

    .sidebar.expanded {
        width: 320px;
        position: absolute;
        top: 56px;
        bottom: 0;
        z-index: 1010;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    .sidebar-header {
        padding: 10px;
    }

    .sidebar-toggle {
        display: block;
    }

    .session-item .content,
    .session-item .timestamp,
    .sidebar-title {
        display: none;
    }

    .sidebar.expanded .session-item .content,
    .sidebar.expanded .session-item .timestamp,
    .sidebar.expanded .sidebar-title {
        display: block;
    }

    .session-item {
        padding: 12px 10px;
        justify-content: center;
    }

    .sidebar.expanded .session-item {
        padding: 10px 15px;
        justify-content: flex-start;
    }

    .session-item i {
        margin-right: 0;
    }

    .sidebar.expanded .session-item i {
        margin-right: 10px;
    }
}
/* 确保模态框内的元素捕获事件 */
.modal-header,
.modal-body,
.modal-footer,
.modal-btn,
.modal-close {
    pointer-events: auto;
}

/* 提高模态框按钮的z-index */
.modal-btn {
    position: relative;
    z-index: 1060;
}

.modal-close {
    position: relative;
    z-index: 1060;
}

/* 确保模态框对话框不会传递事件到背景 */
.modal-dialog {
    pointer-events: auto;
}

/* 思考过程的CSS样式 */

/* 思考气泡样式 */
.thinking-bubble {
    background-color: #f8f9fa !important;
    border: 1px dashed var(--fanwei-border) !important;
}

/* 思考点样式 */
.thinking-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thinking-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 3px;
    transition: background-color 0.3s ease;
}

.thinking-dot.active {
    background-color: var(--fanwei-primary);
    transform: scale(1.2);
}

/* 思考内容样式 */
#thinking-content p {
    margin-bottom: 5px;
    color: #666;
    font-style: italic;
}

/* 淡入淡出动画 */
@keyframes thinking-fade {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

#thinking-process {
    animation: thinking-fade 2s infinite ease-in-out;
}

/* 文件处理进度条 */
.processing-progress {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--fanwei-primary);
    transition: width 0.5s ease;
}

.processing-step {
    font-size: 12px;
    color: #888;
    text-align: right;
}

/* 待发送文件容器 */
.pending-files-container {
    margin-bottom: 10px;
    border: 1px solid var(--fanwei-border);
    border-radius: 8px;
    background-color: #f8f9fa;
    overflow: hidden;
}

.pending-files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--fanwei-light);
    border-bottom: 1px solid var(--fanwei-border);
}

.pending-files-header span {
    font-size: 13px;
    font-weight: 500;
    color: var(--fanwei-primary);
}

.btn-clear-files {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 4px;
}

.btn-clear-files:hover {
    color: var(--fanwei-danger);
    background-color: rgba(231, 76, 60, 0.1);
}

.pending-files-list {
    padding: 10px;
    max-height: 150px;
    overflow-y: auto;
}

.pending-file-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid #eee;
}

.file-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: var(--fanwei-secondary);
    color: var(--fanwei-primary);
    margin-right: 10px;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    overflow: hidden;
}

.file-name {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 11px;
    color: #999;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    margin-left: 5px;
}

.btn-remove-file:hover {
    color: var(--fanwei-danger);
}

/* 发送按钮样式修改 */
.send-with-files-text {
    font-size: 12px;
    margin-left: 5px;
}

@media (max-width: 576px) {
    .send-with-files-text {
        display: none !important;
    }
}

.sidebar .logo span{
    font-size: 20px;
    font-weight:600;
}
.sidebars {
    display: flex;
    align-items: center;
}


.logo img, .unpack img {
    display: block; /* 防止图片底部出现间隙 */
}
.unpack {
    margin-left: auto;
}
.zdhj {
    margin-left: -100px;
}
.zdhj img{
    float: left;
    margin-right: 20px;
}
.zdhj h2 {
    font-size: 30px;
    font-weight: 600;
    color: #1c1c1c;
    text-align: left;
    line-height: 0.4 !important;
}
.zdhj p {
    font-size: 16px;
    color: #2d2d2d;
    text-align: left;
    white-space: nowrap;
}
.zndh {
    background-image: url(../images/zndh.png);
}
.wjfx {
    background-image: url(../images/fjfx.png);
}
.dhjl{
    background-image: url(../images/dhjl.png);
}

/* Markdown 样式 */
.markdown-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.markdown-content h1 {
    font-size: 1.8em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-content h2 {
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-content h3 {
    font-size: 1.25em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.markdown-content p {
    margin-top: 0;
    margin-bottom: 16px;
}

.markdown-content code {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: 3px;
}

.markdown-content pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f6f8fa;
    border-radius: 3px;
    margin-bottom: 16px;
}

.markdown-content pre code {
    display: inline;
    padding: 0;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
}

.markdown-content blockquote {
    padding: 0 1em;
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
    margin: 0 0 16px 0;
}

.markdown-content ul,
.markdown-content ol {
    padding-left: 2em;
    margin-top: 0;
    margin-bottom: 16px;
}

.markdown-content table {
    display: block;
    width: 100%;
    overflow: auto;
    margin-top: 0;
    margin-bottom: 16px;
    border-spacing: 0;
    border-collapse: collapse;
}

.markdown-content table th {
    font-weight: 600;
    padding: 6px 13px;
    border: 1px solid #dfe2e5;
}

.markdown-content table td {
    padding: 6px 13px;
    border: 1px solid #dfe2e5;
}

.markdown-content table tr {
    background-color: #fff;
    border-top: 1px solid #c6cbd1;
}

.markdown-content table tr:nth-child(2n) {
    background-color: #f6f8fa;
}

/* 思考气泡和推理内容相关样式 */
.thinking-bubble {
    background-color: #f8f9fa !important;
    border: 1px dashed var(--fanwei-border) !important;
}

#reasoningContent,
#responseContent {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* 文件上传后的操作建议样式 */
.file-uploaded-message {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 10px 0;
    border-left: 3px solid #007bff;
}

.file-uploaded-message p {
    margin-bottom: 8px;
    color: #333;
}

.file-uploaded-message strong {
    color: #0056b3;
    font-weight: 600;
}

.action-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.action-suggestion-btn {
    background-color: #f1f8ff;
    border: 1px solid #c8e1ff;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0366d6;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.action-suggestion-btn:hover {
    background-color: #e1f0ff;
    border-color: #79b8ff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-suggestion-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.action-suggestion-btn i {
    margin-right: 6px;
    font-size: 0.9em;
}

/* 针对不同操作类型的颜色变化 */
.action-suggestion-btn[data-action*="分析"] {
    border-color: #c2e0c6;
    background-color: #f0fff4;
    color: #22863a;
}

.action-suggestion-btn[data-action*="分析"]:hover {
    background-color: #dcffe4;
    border-color: #85d396;
}

.action-suggestion-btn[data-action*="提取"] {
    border-color: #d8d2f0;
    background-color: #f5f1ff;
    color: #5a32a3;
}

.action-suggestion-btn[data-action*="提取"]:hover {
    background-color: #ece5ff;
    border-color: #b392f0;
}

.action-suggestion-btn[data-action*="总结"] {
    border-color: #ffd2b2;
    background-color: #fff5eb;
    color: #d15704;
}

.action-suggestion-btn[data-action*="总结"]:hover {
    background-color: #ffebd6;
    border-color: #ffab70;
}

.action-suggestion-btn[data-action*="查找"] {
    border-color: #c4e3f5;
    background-color: #f0f7ff;
    color: #0366d6;
}

.action-suggestion-btn[data-action*="查找"]:hover {
    background-color: #dceeff;
    border-color: #79b8ff;
}